<html>
<head>
	<title>New Color</title>
	<link type='text/css' rel='stylesheet' href='./style1.css'/>
</head>
<script language='JavaScript' src='./newcolor.js'></script>
<body onLoad="init();">

<span class="title">New Color</span>
<br><br>

<table border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td>Red:</td>
		<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
		<td><input id="red" type="text" value="0" style="width:50;" onKeyUp="changeColorRGB();"></td>
		<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
		<td id="colorpreview" rowspan="5" bgcolor="#000000">
			<img src="./images/1x1.gif" width="100" height="100" border="1"/>
		</td>
	</tr>
	<tr>
		<td colspan="5">&nbsp;</td>
	</tr>
	<tr>
		<td>Green:</td>
		<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
		<td><input id="green" type="text" value="0" style="width:50;" onKeyUp="changeColorRGB();"></td>
		<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
	</tr>
	<tr>
		<td colspan="5">&nbsp;</td>
	</tr>
	<tr>
		<td>Blue:</td>
		<td>&nbsp;&nbsp;</td>
		<td><input id="blue" type="text" value="0" style="width:50;" onKeyUp="changeColorRGB();"></td>
		<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
	</tr>
	<tr>
		<td colspan="5">&nbsp;</td>
	</tr>
	<tr>
		<td>Hex:</td>
		<td>&nbsp;&nbsp;</td>
		<td colspan="3"><input id="hex" type="text" value="000000" style="width:170;" onKeyUp="changeColorHex();"></td>
	</tr>
	<tr>
		<td colspan="5">&nbsp;</td>
	</tr>
	<tr>
		<td colspan="4">&nbsp;</td>
		<td><input type="submit" value="add color" style="width:100;" onClick="saveColor();"></td>
	</tr>
</table>

</body>
</html>




